
        <form class="checkoutform" action="{:U('update')}" method="post">
            <input type="hidden" name="id" value="{$info.id}" />
    
                <div class="form-group">
                    <label class="control-label">显示风格</label>
                    <div>
                        
                        
                        <label class="checkbox-inline" onClick="showPagesBox(this);">
                            <img src="<notempty name="info['page_img']">{:getThumbPath($info['page_img'])}
                            <else/>
                            __PUBLIC__/Admin/images/defaultimg.png
                            </notempty>
                            " width="100" height="100"><br>
                            [首页主体风格]
                            <input type="hidden" name="page_id" value="{$info.page_id}">
                            <input type="hidden" name="page_img" value="{$info.page_img}">
                        </label>
                        
                        
                        
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">网站名称</label>
                    <div>
                        <input class="form-control" datatype="*" value="{$info.title}" name="title" type="text" placeholder="网站名称">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">封面图</label>
                    <div>
                        <input name="img_url" type="hidden" value="{$info.img_url}" />
                        <img onclick="showImgBox(this);" src="<notempty name="info['img_url']">{:getThumbPath($info['img_url'])}
                        <else/>
                        __PUBLIC__/Admin/images/defaultimg.png
                        </notempty>
                        " id="img_url" height="40" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">语言</label>
                    <div>
                        <select class="form-control" name="lang_id">
                            <option value="0">请选择语言</option>
                            <volist name="LangList" id="vo">
                                <option 
                                <eq name="vo['id']" value="$info['lang_id']">selected="selected"</eq>
                                 value="{$vo.id}">{$vo.lang}
                                </option>
                            </volist>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">会员中心风格</label>
                    <div>
                        <select class="form-control" name="MEMBERDEFAULT_THEME">
                            <option value="0">请选择风格</option>
                            <?php foreach($MEMBERDEFAULT_THEME as $key => $vo){?>
                            <option <?php if($vo == $info['MEMBERDEFAULT_THEME']){?>selected="selected"<?php }?> value="<?php echo $vo;?>"><?php echo $vo;?></option>
                            <?php }?>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">微信浏览器中自动登录</label>
                    <div>
                        <select class="form-control" name="is_wxLogin">
                            <option value="0" 
                            <eq name="info['is_wxLogin']" value="0">selected="selected"</eq>
                            >禁止微信自动登录
                            </option>
                            <option value="1" 
                            <eq name="info['is_wxLogin']" value="1">selected="selected"</eq>
                            >微信网页授权登录
                            </option>
                            <option value="2" 
                            <eq name="info['is_wxLogin']" value="2">selected="selected"</eq>
                            >微信静默授权登录
                            </option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">备注</label>
                    <div>
                        <textarea class="form-control" name="remark" cols="100%" rows="5" id="remark">{$info.remark}</textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">域名</label>
                    <div>
                        <input class="form-control" value="{$info.domain}" name="domain" type="text" placeholder="域名">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">移动端链接</label>
                    <div>
                        <input class="form-control" value="{$info.mobileUrl}" name="mobileUrl" type="text" placeholder="移动端链接">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">数据关联到网站(与其它网站同步基础数据)</label>
                    <div>
                        <select id="toSite" class="form-control" name="relate_id" style="">
                            <option value="0">使用其它网站的数据</option>
                            <volist name="mySiteList" id="vo">
                                <option 
                                <eq name="vo['id']" value="$info['relate_id']">selected="selected"</eq>
                                 value="{$vo.id}">{$vo.title}
                                </option>
                            </volist>
                        </select>
                    </div>
                </div>
                
                <div class="form-group">
                    <label class="control-label">数据完全同步</label>
                    <div>
                        <label class="checkbox-inline">
                            <input name="pagerelate" type="radio" value="1" 
                            <eq name="info['pagerelate']" value="1">checked="checked"</eq>
                            />
                            是</label>
                        <label class="checkbox-inline">
                            <input type="radio" name="pagerelate" value="0" 
                            <eq name="info['pagerelate']" value="0">checked="checked"</eq>
                            />
                            否</label>
                    </div>
                </div>
                
                
                <div class="form-group">
                    <label class="control-label">到期时间</label>
                    <div>
                        <input class="form-control" type="text" onclick="WdatePicker();" name="timeout" id="timeout" value="{:date('Y-m-d',$info['timeout'])}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">文章扩展项</label>
                    <div>
                        <textarea class="form-control" type="text" name="extendsField">{$info['extendsField']}</textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">产品扩展项</label>
                    <div>
                        <textarea class="form-control" type="text" name="productExtendsField">{$info['productExtendsField']}</textarea>
                    </div>
                </div>
                
                <div class="form-group">
                    <label class="control-label">出售价格</label>
                    <div>
                        <textarea class="form-control" type="text" name="price">{$info['price']}</textarea>
                    </div>
                </div>
                <notempty name="Agentlevel">
                    <volist name="Agentlevel" id="vo">
                        <div class="form-group">
                            <label class="control-label">{$vo.title}价格
                                <input type="hidden" name="agentlevelid[]" value="{$vo.id}">
                            </label>
                            <div>
                                <textarea class="form-control" type="text" name="agentlevelprice[]">{$vo.price}</textarea>
                            </div>
                        </div>
                        
                        
                        
                        <div class="form-group">
                            <label class="control-label">{$vo.title}续费价格
                                <input type="hidden" name="agentlevelrenewid[]" value="{$vo.id}">
                            </label>
                            <div class="">
                                <textarea class="form-control" type="text" name="agentlevelrenewprice[]">{$vo.renewprice}</textarea>
                            </div>
                        </div>
                    </volist>
                </notempty>
                <notempty name="Agentlevel">
                    <div class="form-group">
                        <label class="control-label">平台代理级别</label>
                        <div>
                            <label class="checkbox-inline">
                                <input name="agentlevel_id" type="radio" id="agentlevel_id" value="0" 
                                <eq name="info['agentlevel_id']" value="0">checked="checked"</eq>
                                />
                                无代理权</label>
                            <volist name="Agentlevel" id="vo">
                                <label class="checkbox-inline">
                                    <input name="agentlevel_id" type="radio" id="agentlevel_id" value="{$vo.id}" 
                                    <eq name="info['agentlevel_id']" value="$vo['id']">checked="checked"</eq>
                                    />
                                    {$vo.title}</label>
                            </volist>
                        </div>
                    </div>
                </notempty>
                <div class="form-group">
                    <label class="control-label">使用用户组</label>
                    <div>
                        <select name="roleid[]" size="15" multiple="multiple" id="roleid[]">
                            <volist name="role_list" id="vo">
                                <option 
                                <if condition="in_array($vo['id'], $info['roleid'])">selected="selected"</if>
                                 value="{$vo.id}">{$vo.name}
                                </option>
                            </volist>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">是否自动运行</label>
                    <div>
                        <select id="is_auto" class="form-control" name="is_auto" style="width:80%">
                            <option value="0">否</option>
                            <option value="1">是</option>
                        </select>
                    </div>
                </div>
               
      
        </form>
    